import request from '@/utils/request'

// 图片内容列表
export function resourcesLists(params?: Record<string, any>) {
    return request.get({ url: '/resources/list', params })
}

// 图片内容详情
export function resourcesDetail(params: Record<string, any>) {
    return request.get({ url: '/resources/detail', params })
}

// 图片内容新增
export function resourcesAdd(params: Record<string, any>) {
    return request.post({ url: '/resources/add', params })
}

// 图片内容编辑
export function resourcesEdit(params: Record<string, any>) {
    return request.post({ url: '/resources/edit', params })
}

// 图片内容删除
export function resourcesDelete(params: Record<string, any>) {
    return request.post({ url: '/resources/del', params })
}
